home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre4.z / postgre4 / src / access / heap / create.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-27  |  1.4 KB  |  53 lines

  1. /* ----------------------------------------------------------------
  2.  *   FILE
  3.  *    create.c
  4.  *    
  5.  *   DESCRIPTION
  6.  *    Access method creation and deletion of relations code.
  7.  *    THIS FILE IS BEING OBSOLETED BY lib/catalog/heap.c  -cim 1/13/1991
  8.  *
  9.  *   INTERFACE ROUTINES
  10.  *    amcreate
  11.  *    amcreatr
  12.  *    amdestroy
  13.  *
  14.  *   NONFUNCTIONAL BAGGAGE
  15.  *    amcreatv
  16.  *    amcreati
  17.  *    ambuild
  18.  *    ammergev
  19.  *
  20.  *   NOTES
  21.  *    This file should be split - amcreate and amdestroy are more
  22.  *    catalog-support functions and they should go in a file in
  23.  *    lib/C/catalog.  amcreatr() is the real access-method function
  24.  *    here and it should stay.  -cim 6/19/90
  25.  *    
  26.  *    amcreate/amcreatr/amdestroy have a crapload of wrapper
  27.  *    functions called fancy names like RelationNameCreateHeapRelation(),
  28.  *    etc.  something should be done about these, as well as all the
  29.  *    NewXXX routines like NewCreate, NewDestroy... etc.
  30.  *
  31.  *   IDENTIFICATION
  32.  *    $Header: /private/postgres/src/access/heap/RCS/create.c,v 1.35 1991/05/01 02:49:10 cimarron Exp $
  33.  * ----------------------------------------------------------------
  34.  */
  35.  
  36. #include <sys/file.h>
  37. #include <strings.h>
  38.  
  39. #include "tmp/postgres.h"
  40.  
  41. RcsId("$Header: /private/postgres/src/access/heap/RCS/create.c,v 1.35 1991/05/01 02:49:10 cimarron Exp $");
  42.  
  43. #include "access/heapam.h"
  44. #include "access/relscan.h"
  45. #include "utils/log.h"
  46. #include "utils/mcxt.h"
  47. #include "utils/rel.h"
  48. #include "utils/relcache.h"
  49.  
  50. #ifdef sprite
  51. #include "sprite_file.h"
  52. #endif /* sprite */
  53.